import { DictDataVO } from '@/api/system/types/dict.type'

/**
 * 根据字典类型查询字典数据信息
 * @param dictType
 */
export function getDicts(dictType: string): Promise<ApiResponse<DictDataVO[]>> {
  return uni.$uv.http.request({
    url: '/system/dict/data/type/' + dictType,
    method: 'get'
  })
}
